Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote: Fix file counting in merkletree.DirectoryTreeBuilder #14330

Closed

Conversation

meteorcloudy
Copy link
Member

The DirectoryTreeBuilder did not check if files already existed in the resulting map, so the file counter got wrong and an assertion failed.

The error was visible when adding a file and the directory containing that file as inputs for an action.

Fixes #14286.

Closes #14299.

PiperOrigin-RevId: 412051374

The DirectoryTreeBuilder did not check if files already existed in the resulting map, so the file counter got wrong and an assertion failed.

The error was visible when adding a file and the directory containing that file as inputs for an action.

Fixes bazelbuild#14286.

Closes bazelbuild#14299.

PiperOrigin-RevId: 412051374
@meteorcloudy meteorcloudy requested a review from a team as a code owner November 25, 2021 09:54
@google-cla google-cla bot added the cla: yes label Nov 25, 2021
@meteorcloudy
Copy link
Member Author

FYI @coeuvre @moroten @brentleyjones

@meteorcloudy
Copy link
Member Author

Closing because duplicated to #14331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants